home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
52811
/
52811.xpi
/
chrome
/
content
/
crypt.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-08-24
|
4KB
|
101 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://crypt/skin/crypt.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://crypt/locale/crypt.dtd">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&title.label;" >
<!-- Import the external JavaScript modules -->
<script language="JavaScript" type="text/javascript" src="crypt.js"/>
<script language="JavaScript" type="text/javascript" src="AES/aes.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/entropy.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/aesprng.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/lecuyer.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/md5.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/armour.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/utf-8.js"></script>
<script language="JavaScript" type="text/javascript" src="AES/jscrypt.js"></script>
<script language="JavaScript" type="text/javascript" src="Blowfish/blowfish.js"></script>
<script language="JavaScript" type="text/javascript" src="about.js"/>
<!--Establishes a new string bundle, referenced by the ID "string-bundle",
whose keys and values are to be loaded from the crypt.properties file-->
<stringbundleset id="stringbundleset">
<stringbundle id="string-bundle" src="chrome://crypt/locale/crypt.properties"/>
</stringbundleset>
<toolbox flex="1">
<menubar id="sample-menubar">
<menu id="file-menu" label="&file.label;">
<menupopup id="file-popup">
<menuitem label="&default.label;" oncommand="CRYPT.resetDefault()"/>
<menuseparator/>
<menuitem label="&exit.label;" oncommand="CRYPT.closeWindow()"/>
</menupopup>
</menu>
<menu id="edit-menu" label="&what.label;">
<menupopup id="edit-popup">
<menuitem label="&help.label;" oncommand="ABOUT.loadInBrowser('&helpPage.url;',0)"/>
<menuseparator/>
<menuitem label="&info.label;" oncommand="CRYPT.openAbout()"/>
</menupopup>
</menu>
</menubar>
</toolbox>
<description flex="1">&separate.label;</description>
<hbox name="box" align="center">
<textbox type="password" name="text" maxlength="1024" size="27"
onfocus="ce();" onblur="ce();" onkeydown="CRYPT.keyPressEvent(event);"/>
<button label="&go.label;" oncommand="CRYPT.init(event);"/>
</hbox>
<radiogroup id="password">
<hbox align="center">
<radio label="&radio.label1;" value="&radio.value1;"/>
<radio label="&radio.label2;" value="&radio.value2;"/>
<spacer flex="1"/>
<groupbox>
<checkbox id="pwdHS" label="&hidePwd.label;" checked="false" onclick="CRYPT.hidePwd(event);"/>
</groupbox>
</hbox>
</radiogroup>
<button disabled="true" id="gen" label="&gen.label;" oncommand="CRYPT.genKey();"/>
<groupbox>
<label id="found" value=""/>
</groupbox>
<groupbox>
<caption label="&groupbox.label;"/>
<hbox>
<checkbox id="encryptYN" label="&check.label;" checked="false" onclick="CRYPT.changeStyle(event);"/>
<spacer flex="1"/>
<menulist disabled="true">
<menupopup>
<menuitem width="180" label="&menu.label1;" value="&menu.value1;"/>
<menuitem width="180" label="&menu.label2;" value="&menu.value2;"/>
</menupopup>
</menulist>
</hbox>
<radiogroup id="encoding" disabled="true">
<hbox align="center">
<radio label="&radio2.label1;" value="&radio2.value1;"/>
<radio label="&radio2.label2;" value="&radio2.value2;"/>
<radio label="&radio2.label3;" value="&radio2.value3;"/>
</hbox>
</radiogroup>
</groupbox>
</window>